package com.wfcm.service;

import com.wfcm.entity.WfIndexTypeEntity;
import com.wfcm.jedis.JedisResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * 课程分类
 * 
 * @author xlf
 * @email xlfbe696@gmail.com
 * @date 2018-01-22 18:57:16
 */
public interface WfIndexTypeService {
	
	WfIndexTypeEntity queryObject(Integer indextypecode);
	
	List<WfIndexTypeEntity> queryList(Map<String, Object> map);

	/*IndexTypeResult jedisList();*/

	JedisResult indexComplete(HttpServletRequest req);

	int delIndexType();

	int queryTotal(Map<String, Object> map);
	
	void save(WfIndexTypeEntity wfIndexType);
	
	void update(WfIndexTypeEntity wfIndexType);
	
	void delete(Integer indextypecode);
	
	void deleteBatch(Integer[] indextypecodes);
}
